import request from '@/util/request'

export function listCompanyHook(data) {
  return request({
    url: '/iot/company/hook/list',
    method: 'post',
    data
  })
}

export function updateCompanyHook(data) {
  return request({
    url: '/iot/company/hook/update',
    method: 'post',
    data
  })
}

export function insertCompanyHook(data) {
  return request({
    url: '/iot/company/hook/insert',
    method: 'post',
    data
  })
}

export function deleteCompanyHook(data) {
  return request({
    url: '/iot/company/hook/delete',
    method: 'post',
    data
  })
}

